<template>
  <u-notice-bar
    @click="toLink"
    type="none"
    :list="list"
    mode="vertical"
  ></u-notice-bar>
</template>

<script setup lang="ts">
import { PropType } from "vue";

let toLink = function (index: number) {
  console.log(index);
};
const props = defineProps({
  list: {
    type: Object as PropType<Array<string>>,
    required: true,
  },
  linkAddress: {
    type: Object as PropType<Array<string>>,
  },
});
</script>

<style lang="scss"></style>
